package com.mwcz.hot.payment.service;

import com.mwcz.hot.finance.model.UserRecharge;
import com.mwcz.hot.payment.vo.wechat.CreateOrderResponseVo;
import com.mwcz.hot.user.model.UserToken;

/**
 * 订单支付
 *
 * @author Mr.Bai
 * @since 2021-06-18
 */
public interface RechargePayService {
    CreateOrderResponseVo payOrder(Integer orderId, String payType, String clientIp);

    boolean success(String orderId, Integer userId, String payType);

    /**
     * 支付成功处理
     *
     * @param userRecharge 充值订单
     */
    Boolean paySuccess(UserRecharge userRecharge);
}
